package com.zznj.xzjc.activity;

import android.view.View;

import com.vondear.rxtool.RxActivityTool;
import com.zznj.xzjc.R;
import com.zznj.xzjc.base.BaseActivity;
import com.zznj.xzjc.net.entity.DictionaryBean;

import java.util.List;

import butterknife.BindView;
import butterknife.OnClick;
import butterknife.Unbinder;

/**
 * 描述：线索发现
 */
public class ActivityAjcxMain extends BaseActivity {
    @BindView(R.id.xzcfLinear)
    View xzcfLinear;
    @BindView(R.id.fsajLinear)
    View fsajLinear;
    @BindView(R.id.dsjjsLinear)
    View dsjjsLinear;
    @BindView(R.id.sadwLinear)
    View sadwLinear;
    @BindView(R.id.sadsrLinear)
    View sadsrLinear;

    Unbinder unbinder;

    @Override
    protected int getLayoutId() {
        return R.layout.gyss_activity_ajcx_main_layout;
    }

    @Override
    public void initView() {
        setTitle("案件查询");
    }


    private List<DictionaryBean> fromList;

    @Override
    protected void initData() {
    }


    @OnClick({R.id.xzcfLinear,R.id.fsajLinear,R.id.dsjjsLinear,R.id.sadwLinear,R.id.sadsrLinear})
    public void onViewClicked(View view) {
        if(view.getId() == R.id.xzcfLinear){
            RxActivityTool.skipActivity(mContext,ActivityAjcxXzcf.class);
        }else if (view.getId() == R.id.fsajLinear) {
            RxActivityTool.skipActivity(mContext,ActivityAjcxFsaj.class);
        }else if (view.getId() == R.id.dsjjsLinear) {
            RxActivityTool.skipActivity(mContext,ActivityAjcxDsjjs.class);
        }else if (view.getId() == R.id.sadwLinear) {
            RxActivityTool.skipActivity(mContext,ActivityAjcxSadw.class);
        }else if (view.getId() == R.id.sadsrLinear) {
            RxActivityTool.skipActivity(mContext,ActivityAjcxSadsr.class);
        }
    }
}
